package com.freight.admin.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author hytma
 */
@Controller
@RequestMapping("/freight/admin")
@Api(description = "系统接口")
public class AdminController {

    @RequestMapping(value = "/regist", method = RequestMethod.GET)
    @ApiOperation(value = "用户注册协议")
    public String policy(Model model) {
        return "regist";
    }

    @RequestMapping(value = "/policy", method = RequestMethod.GET)
    @ApiOperation(value = "用户隐私协议")
    public String HelloMnvc(Model model) {
        return "policy";
    }


}
